package lab01;

public class Test05 {
    public static void main(String[] args) {
        int i;
        int sum1=0;
        int sum2=0;
        int sum3=0;

        for (i = 0;i<=100;i++){
            sum1 +=i;
        }
        while(i<=100){
            i++;
            sum2 +=i;
        }

        System.out.println(sum1);
        System.out.println(sum2);
    }
}
